package pe.com.csi.pm.regexiv;

import android.text.Editable;
import android.text.InputType;
import android.text.method.NumberKeyListener;
import android.view.View;

public class ValidatorProgresivas extends NumberKeyListener {

	@Override
	protected char[] getAcceptedChars() {
		return new char[] { '1', '2', '3', '4', '5', '6', '7', '8', '9', '0', '+' };
	}

	@Override
	public void clearMetaKeyState(View view, Editable content, int states) {

	}

	@Override
	public int getInputType() {
		return InputType.TYPE_CLASS_TEXT;
	}

}
